<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>是吃草莓的小白兔呀❤ - 是我呀❀</title><meta name="keywords" content="小萝卜吃草莓"><meta name="author" content="chrelyonly"><meta name="copyright" content="chrelyonly"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="ffffff"><meta name="description" content="喜怒哀月">
<meta property="og:type" content="website">
<meta property="og:title" content="是吃草莓的小白兔呀❤">
<meta property="og:url" content="https://chrelyonly.cn/page/2/index.html">
<meta property="og:site_name" content="是吃草莓的小白兔呀❤">
<meta property="og:description" content="喜怒哀月">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://blogapi.chrelyonly.cn/20210818143927.png">
<meta property="article:author" content="chrelyonly">
<meta property="article:tag" content="小萝卜吃草莓">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://blogapi.chrelyonly.cn/20210818143927.png"><link rel="shortcut icon" href="/src/img/favicon.ico"><link rel="canonical" href="https://chrelyonly.cn/page/2/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//hm.baidu.com"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="/pluginsSrc/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="/pluginsSrc/node-snackbar/dist/snackbar.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="/pluginsSrc/@fancyapps/ui/dist/fancybox.css" media="print" onload="this.media='all'"><script>var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?6da08242c766b7a411281842f3164007";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script><script>const GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: {"path":"/search.xml","preload":false,"languages":{"hits_empty":"找不到您查询的内容：${query}"}},
  translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"},
  noticeOutdate: {"limitDay":500,"position":"top","messagePrev":"信息","messageNext":"自上次更新后天，文章内容可能已过时。"},
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: true,
    post: true
  },
  runtime: '天',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: {"chs_to_cht":"你已切换为繁体","cht_to_chs":"你已切换为简体","day_to_night":"你已切换为深色模式","night_to_day":"你已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#1f1f1f","position":"bottom-left"},
  source: {
    justifiedGallery: {
      js: '/pluginsSrc/flickr-justified-gallery/dist/fjGallery.min.js',
      css: '/pluginsSrc/flickr-justified-gallery/dist/fjGallery.css'
    }
  },
  isPhotoFigcaption: true,
  islazyload: true,
  isAnchor: true
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: '是吃草莓的小白兔呀❤',
  isPost: false,
  isHome: true,
  isHighlightShrink: false,
  isToc: false,
  postUpdate: '2022-08-02 22:27:30'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', 'ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><link charset="utf-8" href="/src/css/mycss.css" rel="stylesheet" ><style type="text/css">#toggle-sidebar {bottom: 80px}</style><style type="text/css">.aplayer-body {bottom: 25px}</style><!-- hexo injector head_end start --><link rel="stylesheet" href="https://unpkg.zhimg.com/hexo-butterfly-wowjs/lib/animate.min.css" media="print" onload="this.media='screen'"><!-- hexo injector head_end end --><meta name="generator" content="Hexo 6.2.0"></head><body><div id="web_bg"></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src= "" data-lazy-src="https://blogapi.chrelyonly.cn/20210818143927.png" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">19</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">16</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">23</div></a></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" target="_blank" rel="noopener" href="https://home.chrelyonly.cn"><i class="fa-fw fa fa-home"></i><span> 回家</span></a></div><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fa fa-home"></i><span> 博客</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fa fa-archive"></i><span> 档案</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fa fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fa fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fa fa-link"></i><span> 友情链接</span></a></div><div class="menus_item"><a class="site-page" href="/imggallert/"><i class="fa-fw fa fa-window-maximize"></i><span> 相册</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fa fa-heart"></i><span> 留言板</span></a></div><div class="menus_item"><a class="site-page" href="/books/"><i class="fa-fw fa fa-book"></i><span> 读书</span></a></div><div class="menus_item"><a class="site-page" href="/games/"><i class="fa-fw fa fa-gamepad"></i><span> 游戏</span></a></div><div class="menus_item"><a class="site-page" href="/shuoshuo/"><i class="fa-fw fa fa-heart"></i><span> 微语</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fa fa-list"></i><span> 清单</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/music/"><i class="fa-fw fa fa-music"></i><span> 音乐</span></a></li><li><a class="site-page child" href="/movies/"><i class="fa-fw fa fa-film"></i><span> 电影</span></a></li></ul></div></div></div></div><div class="page" id="body-wrap"><header class="full_page" id="page-header"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">是吃草莓的小白兔呀❤</a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" target="_blank" rel="noopener" href="https://home.chrelyonly.cn"><i class="fa-fw fa fa-home"></i><span> 回家</span></a></div><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fa fa-home"></i><span> 博客</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fa fa-archive"></i><span> 档案</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fa fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fa fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fa fa-link"></i><span> 友情链接</span></a></div><div class="menus_item"><a class="site-page" href="/imggallert/"><i class="fa-fw fa fa-window-maximize"></i><span> 相册</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fa fa-heart"></i><span> 留言板</span></a></div><div class="menus_item"><a class="site-page" href="/books/"><i class="fa-fw fa fa-book"></i><span> 读书</span></a></div><div class="menus_item"><a class="site-page" href="/games/"><i class="fa-fw fa fa-gamepad"></i><span> 游戏</span></a></div><div class="menus_item"><a class="site-page" href="/shuoshuo/"><i class="fa-fw fa fa-heart"></i><span> 微语</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fa fa-list"></i><span> 清单</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/music/"><i class="fa-fw fa fa-music"></i><span> 音乐</span></a></li><li><a class="site-page child" href="/movies/"><i class="fa-fw fa fa-film"></i><span> 电影</span></a></li></ul></div></div></div><div id="top_right"><div id="search-button"><a class="site-page social-icon search"><i class="fas fa-search fa-fw"></i></a></div><div id="swith-button"><a class="site-page social-icon search"><i class="fas fa-adjust"></i></a></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="site-info"><h1 id="site-title">是吃草莓的小白兔呀❤</h1><div id="site_social_icons"><a class="social-icon" href="https://github.com/chrelyonly" target="_blank" title="Github"><i class="fab fa-github"></i></a><a class="social-icon" href="mailto:1172576293@qq.com" target="_blank" title="Email"><i class="fas fa-envelope"></i></a><a class="social-icon" href="mailto:1172576293@qq.com" target="_blank" title="QQ"><i class="fab fa-qq"></i></a></div></div><div id="scroll-down"><i class="fas fa-angle-down scroll-down-effects"></i></div></header><main class="layout" id="content-inner"><div class="recent-posts" id="recent-posts"><div class="recent-post-item"><div class="post_cover left"><a href="/2021/08/12/14/" title="给播客添加一个播放器"><img class="post_bg" src= "" data-lazy-src="https://api.ixiaowai.cn/api/api.php" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="给播客添加一个播放器"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/08/12/14/" title="给播客添加一个播放器">给播客添加一个播放器</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-08-12T07:15:44.000Z" title="发表于 2021-08-12 15:15:44">2021-08-12</time><span class="article-meta-separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2022-05-27T02:27:33.385Z" title="更新于 2022-05-27 10:27:33">2022-05-27</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/butteerfly%E4%B8%BB%E9%A2%98/">butteerfly主题.</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/categories/butteerfly%E4%B8%BB%E9%A2%98/hexo/">hexo</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/categories/butteerfly%E4%B8%BB%E9%A2%98/hexo/valine/">valine</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/butterfly%E4%B8%BB%E9%A2%98/">butterfly主题</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/valine/">valine</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/aplayer%E6%92%AD%E6%94%BE%E5%99%A8%E6%8F%92%E4%BB%B6/">aplayer播放器插件</a></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-comments"></i><a href="/2021/08/12/14/#post-comment" itemprop="discussionUrl"><span class="valine-comment-count" data-xid="/2021/08/12/14/" itemprop="commentCount"></span></a><span class="article-meta-label"> 条评论</span></span></div><div class="content">给博客添加一个播放器先看效果
官方教程首先安装aplayer插件1$ npm install --save hexo-tag-aplayer
安装之后，根据官方的提示关闭自带的aplayer插件。


之后在需要的页面插入分别代表的意思
歌曲/列表/专辑 服务商    一般把000PeZCQ1i4XVs修改为你的音乐列表id，tencent为服务商 artist为播放方式1&#123;% meting &quot;000PeZCQ1i4XVs&quot; &quot;tencent&quot; &quot;artist&quot; &quot;theme:#3F51B5&quot; &quot;mutex:true&quot; &quot;preload:auto&quot; %&#125;
接下来获取链接id(你也可以现在就运行看看效果)打开qq音乐官网,找到我的音乐歌单打开复制地址栏上的id
1&#123;% meting &quot;1503100241&quot; &quot;tencent&quot; &quot;playlist&quot; &quot;theme:#3F5 ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2021/08/11/11/" title="给小博客新增一个天气预报效果"><img class="post_bg" src= "" data-lazy-src="https://api.ixiaowai.cn/api/api.php" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="给小博客新增一个天气预报效果"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/08/11/11/" title="给小博客新增一个天气预报效果">给小博客新增一个天气预报效果</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-08-11T08:15:32.000Z" title="发表于 2021-08-11 16:15:32">2021-08-11</time><span class="article-meta-separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2022-07-20T02:24:40.879Z" title="更新于 2022-07-20 10:24:40">2022-07-20</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/%E5%A4%A9%E6%B0%94%E9%A2%84%E6%8A%A5/">天气预报</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/categories/%E5%A4%A9%E6%B0%94%E9%A2%84%E6%8A%A5/hexo/">hexo</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/butterfly%E4%B8%BB%E9%A2%98/">butterfly主题</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/%E5%A4%A9%E6%B0%94%E9%A2%84%E6%8A%A5/">天气预报</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/%E6%8F%92%E4%BB%B6/">插件</a></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-comments"></i><a href="/2021/08/11/11/#post-comment" itemprop="discussionUrl"><span class="valine-comment-count" data-xid="/2021/08/11/11/" itemprop="commentCount"></span></a><span class="article-meta-label"> 条评论</span></span></div><div class="content">给博客新增左上角天气预报百度搜索天气预报插件这些插件操作方法都很简单,随便选择一个各式各样的插件,然后点击获取代码比如说这个我们复制它,到我们想要放置的页面直接放上就行了,比如说我放在hello页面上保存然后素质三连击!效果展示!
这样如果你要每个文章都放的话可以放在主题配置里!把它放在主题配置bottom下,这样他就会在生成的时候在每个页面添加天气预报了!如果此文章对你帮助的话,点个收藏吧!
</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2021/08/11/6/" title="初步解决valine自动休眠流控的问题"><img class="post_bg" src= "" data-lazy-src="https://api.ixiaowai.cn/api/api.php" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="初步解决valine自动休眠流控的问题"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/08/11/6/" title="初步解决valine自动休眠流控的问题">初步解决valine自动休眠流控的问题</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-08-11T02:10:21.000Z" title="发表于 2021-08-11 10:10:21">2021-08-11</time><span class="article-meta-separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2022-05-27T02:26:53.275Z" title="更新于 2022-05-27 10:26:53">2022-05-27</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/butteerfly%E4%B8%BB%E9%A2%98/">butteerfly主题.</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/categories/butteerfly%E4%B8%BB%E9%A2%98/hexo/">hexo</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/categories/butteerfly%E4%B8%BB%E9%A2%98/hexo/valine/">valine</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/butterfly%E4%B8%BB%E9%A2%98/">butterfly主题</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/valine/">valine</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/%E6%B5%81%E6%8E%A7/">流控</a></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-comments"></i><a href="/2021/08/11/6/#post-comment" itemprop="discussionUrl"><span class="valine-comment-count" data-xid="/2021/08/11/6/" itemprop="commentCount"></span></a><span class="article-meta-label"> 条评论</span></span></div><div class="content">唤醒leancound自动休眠1.使用官方定时器
2.使用cron-job解决Valine-admin因流控原因自动唤醒失败的问题注册cron-job帐号注册地址：直达
注册时的时区请选择Asia&#x2F;Shanghai注册
添加一个计划任务登陆之后依次点击Members,cronjobs,Create cronjobFirst
Title, Address
Title可以随便填一个Address填写你的云引擎环境变量的ADMIN_URL，也就是Leancloud的Web 主机域名。如果你用的我Valine添加博主标签及评论微信、QQ通知文章里的最新版的仓库，还需要在后面加上&#x2F;start，当然也可以不加，加上会有唤醒日志。Schedule
选择User-defined进行自定义设置Days of month: 全选Days of week: 全选Months: 全选Hours: 你需要在哪个时间段唤醒就选择什么Minutes: 选择0,20,40按住Ctrl可多选Notifications
可以不用修改，也可以根据自己的需要修改Common
勾选Save response ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2021/08/10/16/" title="给博客新增一个valine评论系统"><img class="post_bg" src= "" data-lazy-src="https://api.ixiaowai.cn/api/api.php" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="给博客新增一个valine评论系统"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/08/10/16/" title="给博客新增一个valine评论系统">给博客新增一个valine评论系统</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-08-10T01:36:18.000Z" title="发表于 2021-08-10 09:36:18">2021-08-10</time><span class="article-meta-separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2022-05-27T02:27:41.988Z" title="更新于 2022-05-27 10:27:41">2022-05-27</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/butteerfly%E4%B8%BB%E9%A2%98/">butteerfly主题.</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/categories/butteerfly%E4%B8%BB%E9%A2%98/hexo/">hexo</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/categories/butteerfly%E4%B8%BB%E9%A2%98/hexo/valine/">valine</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/butterfly%E4%B8%BB%E9%A2%98/">butterfly主题</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/valine/">valine</a></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-comments"></i><a href="/2021/08/10/16/#post-comment" itemprop="discussionUrl"><span class="valine-comment-count" data-xid="/2021/08/10/16/" itemprop="commentCount"></span></a><span class="article-meta-label"> 条评论</span></span></div><div class="content">Valine Admin 是 Valine 评论系统的扩展和增强，主要实现评论邮件通知、评论管理、垃圾评论过滤等功能。支持完全自定义的邮件通知模板。基于Akismet API实现准确的垃圾评论过滤。此外，使用云函数等技术解决了免费版云引擎休眠问题，支持云引擎自动唤醒，漏发邮件自动补发。兼容云淡风轻及Deserts维护的多版本Valine。
butterfly主题安装valinebutterfly主题已经自带了valine.js,用户只需要配置一下信息就可以了主题配置开启valine评论,如果有多个评论可以像我这样,但是最多两个!在主题配置里300行左右配置use 为 valine

valine配置最后的valine大概是这样的;
接下来怎么获取这些参数~
可以参考valine-admin官方教程valine官方配置
登录&#x2F;注册一个leancound用来储存评论(可能需要挂代理)请先登录或注册 LeanCloud, 进入控制台后点击左下角创建应用：直达然后你就可以从这里看你的appid 和appkey  把他填入到 butterfly主题配置的valine配置去你需要在设置你 ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2021/07/31/12/" title="hexo+butterfly从零开始学基础(跟换主题)"><img class="post_bg" src= "" data-lazy-src="https://api.ixiaowai.cn/api/api.php" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="hexo+butterfly从零开始学基础(跟换主题)"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/07/31/12/" title="hexo+butterfly从零开始学基础(跟换主题)">hexo+butterfly从零开始学基础(跟换主题)</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-07-31T02:29:43.000Z" title="发表于 2021-07-31 10:29:43">2021-07-31</time><span class="article-meta-separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2022-05-27T02:27:26.993Z" title="更新于 2022-05-27 10:27:26">2022-05-27</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/node-js/">node.js</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/categories/node-js/hexo/">hexo</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/categories/node-js/hexo/git/">git</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/butterfly%E4%B8%BB%E9%A2%98/">butterfly主题</a></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-comments"></i><a href="/2021/07/31/12/#post-comment" itemprop="discussionUrl"><span class="valine-comment-count" data-xid="/2021/07/31/12/" itemprop="commentCount"></span></a><span class="article-meta-label"> 条评论</span></span></div><div class="content">准备工作1.一键搭建好的默认网站
第一步：先看一下结构新创建的应该是这样 2021年7月30日15:17:47
接下来更换默认的主题  此时使用 butteerfly主题(大佬) 直达大佬博客主题配置都在这里~~~~~~~~~~~~~~~~~~~~
cmd依旧在博客目录运行,可能有点慢1$ git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly
接下来区分根目录 和 主题目录下的 _config配置文件再把 主题目录下的 _config复制一个出来取名为 _config.butterfly.yml 并且移动到 根目录 ↑之后打开 根目录下的 _config文件修改100行左右的 theme: butterfly最后hexo clean 清理本地未更新的文件hexo g 重新生成网页hexo s 本地运行测试打开网页你就会看见新的界面出现了
</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2021/07/30/17/" title="hexo+butterfly从零开始学基础(搭建基础网站)"><img class="post_bg" src= "" data-lazy-src="https://api.ixiaowai.cn/api/api.php" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="hexo+butterfly从零开始学基础(搭建基础网站)"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/07/30/17/" title="hexo+butterfly从零开始学基础(搭建基础网站)">hexo+butterfly从零开始学基础(搭建基础网站)</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-07-30T02:29:43.000Z" title="发表于 2021-07-30 10:29:43">2021-07-30</time><span class="article-meta-separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2022-05-27T02:27:46.444Z" title="更新于 2022-05-27 10:27:46">2022-05-27</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/node-js/">node.js</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/categories/node-js/hexo/">hexo</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/categories/node-js/hexo/git/">git</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/%E6%90%AD%E5%BB%BAhexo%E5%8D%9A%E5%AE%A2/">搭建hexo博客</a></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-comments"></i><a href="/2021/07/30/17/#post-comment" itemprop="discussionUrl"><span class="valine-comment-count" data-xid="/2021/07/30/17/" itemprop="commentCount"></span></a><span class="article-meta-label"> 条评论</span></span></div><div class="content">现在随着计算机的飞速发展，拥有一个属于自己的博客，是一件非常平常的事。使用hexo搭建一个属于自己的个人博客，是即快捷又美观的一种方式，也是非常受到人们的喜爱的。接下来我将带领大家一起搭建自己的博客。Hexo官网，官网里有很多教程，插件，好看有趣的主题。hexo是是基于node.js的小型博客。
准备工作（搭建本地环境）电脑（这是必须的嘛QAQ，没电脑怎么弄）node.js  强大的JS环境快捷电梯下载稳定版git      代码管理工具快捷电梯下载最新稳定版
下载之后一直默认点安装（默认安装C盘就行，以免以后出现各种问题，反正也才几M….你不会舍不得吧…）网上也有一些安装教程，都一样！安装步骤除了保存地址自己该，其他全部默认
第一步：新建文件夹来存放hexo文件这一步是为了给你的博客找一个合适的位置。新建的文件夹的命名是随意的。创建好在资源管理器路径输入cmd可以直接进入到此目录接着使用 npm 包管理器安装 hexo 
1$ npm install hexo-cli -g
可能会出现安装失败的情况,原因可能是中国网络限制访问外网的问题,与访问github相似;解决办法,搭梯子……安 ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2021/04/29/4/" title="springboot获取访问者ip以及跨域处理"><img class="post_bg" src= "" data-lazy-src="https://api.ixiaowai.cn/api/api.php" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="springboot获取访问者ip以及跨域处理"></a></div><div class="recent-post-info"><a class="article-title" href="/2021/04/29/4/" title="springboot获取访问者ip以及跨域处理">springboot获取访问者ip以及跨域处理</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-04-29T02:12:15.000Z" title="发表于 2021-04-29 10:12:15">2021-04-29</time><span class="article-meta-separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2022-05-27T02:26:43.197Z" title="更新于 2022-05-27 10:26:43">2022-05-27</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/categories/Vue/">Vue</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/categories/Vue/Axios/">Axios</a><i class="fas fa-angle-right article-meta-link"></i><a class="article-meta__categories" href="/categories/Vue/Axios/springboot/">springboot</a></span><span class="article-meta tags"><span class="article-meta-separator">|</span><i class="fas fa-tag"></i><a class="article-meta__tags" href="/tags/Vue/">Vue</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/Axios/">Axios</a><span class="article-meta-link">•</span><a class="article-meta__tags" href="/tags/springboot/">springboot</a></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-comments"></i><a href="/2021/04/29/4/#post-comment" itemprop="discussionUrl"><span class="valine-comment-count" data-xid="/2021/04/29/4/" itemprop="commentCount"></span></a><span class="article-meta-label"> 条评论</span></span></div><div class="content">在springboot中使用 跨域 以及 来访者ip获取使用 @CrossOrigin 注解允许后台跨域在类上注解这个类12$ @CrossOrigin $ public class text()
获取ip地址  方法里传入HttpServletRequest request  然后调用request12$ public void text(HttpServletRequest request)$  System.out.println(&quot;来访者ip可能是:&quot;+request.getRemoteAddr())
可能前端处理过代理设置 会获取到127.0.0.1或者主机ip 而不是访问者ip1234567891011$ String ip = request.getHeader(&quot;x-forwarded-for&quot;);$   if(ip ==null || ip.length() ==0 || &quot;unknown&quot;.equalsIgnoreCase(ip)) &#123;$     ip = request.getHeader(&q ...</div></div></div><div class="recent-post-item"><div class="post_cover right"><a href="/2020/03/02/1/" title="Hello World"><img class="post_bg" src= "" data-lazy-src="https://api.ixiaowai.cn/api/api.php" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Hello World"></a></div><div class="recent-post-info"><a class="article-title" href="/2020/03/02/1/" title="Hello World">Hello World</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time class="post-meta-date-created" datetime="2020-03-02T08:04:09.000Z" title="发表于 2020-03-02 16:04:09">2020-03-02</time><span class="article-meta-separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2022-05-27T02:26:33.210Z" title="更新于 2022-05-27 10:26:33">2022-05-27</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-comments"></i><a href="/2020/03/02/1/#post-comment" itemprop="discussionUrl"><span class="valine-comment-count" data-xid="/2020/03/02/1/" itemprop="commentCount"></span></a><span class="article-meta-label"> 条评论</span></span></div><div class="content">世界你好!</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/2020/03/02/50/" title="Spring Security"><img class="post_bg" src= "" data-lazy-src="https://api.ixiaowai.cn/api/api.php" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="Spring Security"></a></div><div class="recent-post-info"><a class="article-title" href="/2020/03/02/50/" title="Spring Security">Spring Security</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time class="post-meta-date-created" datetime="2020-03-02T08:04:09.000Z" title="发表于 2020-03-02 16:04:09">2020-03-02</time><span class="article-meta-separator">|</span><i class="fas fa-history"></i><span class="article-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2022-07-27T07:53:21.693Z" title="更新于 2022-07-27 15:53:21">2022-07-27</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-comments"></i><a href="/2020/03/02/50/#post-comment" itemprop="discussionUrl"><span class="valine-comment-count" data-xid="/2020/03/02/50/" itemprop="commentCount"></span></a><span class="article-meta-label"> 条评论</span></span></div><div class="content">记录一篇学习Spring Security新建springboot项目依赖勾上web即可(也可以之后自行引入)之后打开页面等到依赖下载完成删掉一些多余的垃圾并修改application后缀名新增一个接口方法点击启动后查看网页通过127+端口+方法发现功能正常
引入 Spring Security引入之后启动发现,启动时出现了一个密码网页也被拦截通过官方可以看到 用户为user 密码为控制台打印的(翻译)使用正确的密码正常登录跳转到了404(啥也没有)可以使用 logout可以退出发现它更具cookie中是否存在以下,判断是否已登录
查看自定义一些配置看官网可以发现 提供了验证流程 以及 注销流程 和 如何进行重写! 重写即 覆盖bean方法(就近原则)自定义一个即可重写(本次不使用自带的页面验证)继续往下,授权服务器管理别忘记类上需要启用 @EnableReactiveMethodSecurity其余自行查看用法
oauth2.0 (2.1) 实现现在很多业务开放了oauth快速登录也就是(qq网页快速登录,github,gitee快速登录)即使用非系统账号进行授权
</div></div></div><nav id="pagination"><div class="pagination"><a class="extend prev" rel="prev" href="/"><i class="fas fa-chevron-left fa-fw"></i></a><a class="page-number" href="/">1</a><span class="page-number current">2</span></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src= "" data-lazy-src="https://blogapi.chrelyonly.cn/20210818143927.png" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">chrelyonly</div><div class="author-info__description">喜怒哀月</div></div><div class="card-info-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">19</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">16</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">23</div></a></div><a id="card-info-btn" href="https://chrelyonly.cn"><i class="fab fa-home"></i><span>首页</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://github.com/chrelyonly" target="_blank" title="Github"><i class="fab fa-github"></i></a><a class="social-icon" href="mailto:1172576293@qq.com" target="_blank" title="Email"><i class="fas fa-envelope"></i></a><a class="social-icon" href="mailto:1172576293@qq.com" target="_blank" title="QQ"><i class="fab fa-qq"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">谢谢你点开了我的网站 ^_^</div></div><div class="card-widget userip" id="userip"><div class="item-headline"><i class="fa fa-mobile"></i><span>来访者欢迎你!</span></div><div class="item-content">访客信息获取中.....</div></div><div class="card-widget valineMessages" id="valineMessages"><div class="item-headline"><i class="fa fa-mobile"></i><span>最新valine评论!</span></div><div class="item-content">评论信息获取中.....</div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/2022/04/15/8/" title="新博客预定中"><img src= "" data-lazy-src="https://api.ixiaowai.cn/api/api.php" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="新博客预定中"/></a><div class="content"><a class="title" href="/2022/04/15/8/" title="新博客预定中">新博客预定中</a><time datetime="2022-04-15T03:05:52.000Z" title="发表于 2022-04-15 11:05:52">2022-04-15</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2022/03/25/5/" title="avue食用技巧"><img src= "" data-lazy-src="https://api.ixiaowai.cn/api/api.php" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="avue食用技巧"/></a><div class="content"><a class="title" href="/2022/03/25/5/" title="avue食用技巧">avue食用技巧</a><time datetime="2022-03-25T12:00:27.000Z" title="发表于 2022-03-25 20:00:27">2022-03-25</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2022/03/24/10/" title="mybatis_plus的QueryWrapper高级用法"><img src= "" data-lazy-src="https://api.ixiaowai.cn/api/api.php" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="mybatis_plus的QueryWrapper高级用法"/></a><div class="content"><a class="title" href="/2022/03/24/10/" title="mybatis_plus的QueryWrapper高级用法">mybatis_plus的QueryWrapper高级用法</a><time datetime="2022-03-24T12:00:32.000Z" title="发表于 2022-03-24 20:00:32">2022-03-24</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2022/02/20/7/" title="valine评论修改方案"><img src= "" data-lazy-src="https://api.ixiaowai.cn/api/api.php" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="valine评论修改方案"/></a><div class="content"><a class="title" href="/2022/02/20/7/" title="valine评论修改方案">valine评论修改方案</a><time datetime="2022-02-20T06:17:06.000Z" title="发表于 2022-02-20 14:17:06">2022-02-20</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2022/02/04/2/" title="更新说明"><img src= "" data-lazy-src="https://api.ixiaowai.cn/api/api.php" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="更新说明"/></a><div class="content"><a class="title" href="/2022/02/04/2/" title="更新说明">更新说明</a><time datetime="2022-02-04T14:50:34.000Z" title="发表于 2022-02-04 22:50:34">2022-02-04</time></div></div></div></div><div class="card-widget card-categories"><div class="item-headline">
            <i class="fas fa-folder-open"></i>
            <span>分类</span>
            <a class="card-more-btn" href="/categories/" title="查看更多">
    <i class="fas fa-angle-right"></i></a>
            </div>
            <ul class="card-category-list" id="aside-cat-list">
            <li class="card-category-list-item "><a class="card-category-list-link" href="/categories/DIV/"><span class="card-category-list-name">DIV</span><span class="card-category-list-count">1</span></a><ul class="card-category-list child"><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/DIV/java/"><span class="card-category-list-name">java</span><span class="card-category-list-count">1</span></a><ul class="card-category-list child"><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/DIV/java/vue/"><span class="card-category-list-name">vue</span><span class="card-category-list-count">1</span></a></li></ul></li></ul></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/Vue/"><span class="card-category-list-name">Vue</span><span class="card-category-list-count">2</span></a><ul class="card-category-list child"><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/Vue/Axios/"><span class="card-category-list-name">Axios</span><span class="card-category-list-count">2</span></a><ul class="card-category-list child"><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/Vue/Axios/springboot/"><span class="card-category-list-name">springboot</span><span class="card-category-list-count">2</span></a></li></ul></li></ul></li><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/butteerfly%E4%B8%BB%E9%A2%98/"><span class="card-category-list-name">butteerfly主题</span><span class="card-category-list-count">1</span></a><ul class="card-category-list child"><li class="card-category-list-item "><a class="card-category-list-link" href="/categories/butteerfly%E4%B8%BB%E9%A2%98/hexo/"><span class="card-category-list-name">hexo</span><span class="card-category-list-count">1</span></a></li></ul></li>
            </ul></div><div class="card-widget card-tags"><div class="item-headline"><i class="fas fa-tags"></i><span>标签</span></div><div class="card-tag-cloud"><a href="/tags/Axios/" style="font-size: 1.23em; color: #999ea6">Axios</a> <a href="/tags/QueryWrapper%E9%AB%98%E7%BA%A7%E7%94%A8%E6%B3%95/" style="font-size: 1.1em; color: #999">QueryWrapper高级用法</a> <a href="/tags/Vue/" style="font-size: 1.23em; color: #999ea6">Vue</a> <a href="/tags/aplayer%E6%92%AD%E6%94%BE%E5%99%A8%E6%8F%92%E4%BB%B6/" style="font-size: 1.23em; color: #999ea6">aplayer播放器插件</a> <a href="/tags/avue/" style="font-size: 1.1em; color: #999">avue</a> <a href="/tags/butterfly%E4%B8%BB%E9%A2%98/" style="font-size: 1.5em; color: #99a9bf">butterfly主题</a> <a href="/tags/gitalk/" style="font-size: 1.1em; color: #999">gitalk</a> <a href="/tags/hexo-%E8%87%AA%E5%AE%9A%E4%B9%89%E4%BF%AE%E6%94%B9-%E9%AD%94%E6%94%B9/" style="font-size: 1.23em; color: #999ea6">hexo,自定义修改,魔改</a> <a href="/tags/java%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7/" style="font-size: 1.1em; color: #999">java开发工具</a> <a href="/tags/mybatis-plus/" style="font-size: 1.1em; color: #999">mybatis_plus</a> <a href="/tags/springboot/" style="font-size: 1.23em; color: #999ea6">springboot</a> <a href="/tags/valine/" style="font-size: 1.37em; color: #99a4b2">valine</a> <a href="/tags/%E5%A4%A9%E6%B0%94%E9%A2%84%E6%8A%A5/" style="font-size: 1.1em; color: #999">天气预报</a> <a href="/tags/%E6%8F%92%E4%BB%B6/" style="font-size: 1.1em; color: #999">插件</a> <a href="/tags/%E6%90%AD%E5%BB%BAhexo%E5%8D%9A%E5%AE%A2/" style="font-size: 1.1em; color: #999">搭建hexo博客</a> <a href="/tags/%E6%B5%81%E6%8E%A7/" style="font-size: 1.1em; color: #999">流控</a></div></div><div class="card-widget card-archives"><div class="item-headline"><i class="fas fa-archive"></i><span>归档</span><a class="card-more-btn" href="/archives/" title="查看更多">
    <i class="fas fa-angle-right"></i></a></div><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2022/04/"><span class="card-archive-list-date">四月 2022</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2022/03/"><span class="card-archive-list-date">三月 2022</span><span class="card-archive-list-count">2</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2022/02/"><span class="card-archive-list-date">二月 2022</span><span class="card-archive-list-count">2</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2022/01/"><span class="card-archive-list-date">一月 2022</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/12/"><span class="card-archive-list-date">十二月 2021</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/11/"><span class="card-archive-list-date">十一月 2021</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/08/"><span class="card-archive-list-date">八月 2021</span><span class="card-archive-list-count">6</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2021/07/"><span class="card-archive-list-date">七月 2021</span><span class="card-archive-list-count">2</span></a></li></ul></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>网站资讯</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章数目 :</div><div class="item-count">19</div></div><div class="webinfo-item"><div class="item-name">已运行时间 :</div><div class="item-count" id="runtimeshow" data-publishDate="2020-03-03T00:00:00.000Z"></div></div><div class="webinfo-item"><div class="item-name">本站总字数 :</div><div class="item-count">7.8k</div></div><div class="webinfo-item"><div class="item-name">本站访客数 :</div><div class="item-count" id="busuanzi_value_site_uv"></div></div><div class="webinfo-item"><div class="item-name">本站总访问量 :</div><div class="item-count" id="busuanzi_value_site_pv"></div></div><div class="webinfo-item"><div class="item-name">最后更新时间 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2022-08-02T14:27:30.557Z"></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2022 By chrelyonly</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text"><a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=53010302001175"><img src= "" data-lazy-src="/src/img/icp.png"/><span>滇公网安备 53010302001175号</span></a><br><a target="_blank" rel="noopener" href="https://beian.miit.gov.cn/"><img class="icp-icon" src= "" data-lazy-src="/src/img/icp.png"><span>备案号：滇ICP备2021007084号</span></a><br><a href="https://icp.gov.moe/?keyword=20210209" target="_blank">萌ICP备20210209号</a><br/> 热情这东西其实也很脆弱,从来都只有好聚,我一直在等你，等死一样。</div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="translateLink" type="button" title="简繁转换">简</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div id="local-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">搜索</span><span id="loading-status"></span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="is-center" id="loading-database"><i class="fas fa-spinner fa-pulse"></i><span>  数据库加载中</span></div><div class="search-wrap"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"/></div></div><hr/><div id="local-search-results"></div></div></div><div id="search-mask"></div></div><div><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/js/tw_cn.js"></script><script src="/pluginsSrc/@fancyapps/ui/dist/fancybox.umd.js"></script><script src="/pluginsSrc/instant.page/instantpage.js" type="module"></script><script src="/pluginsSrc/vanilla-lazyload/dist/lazyload.iife.min.js"></script><script src="/pluginsSrc/node-snackbar/dist/snackbar.min.js"></script><script>function panguFn () {
  if (typeof pangu === 'object') pangu.autoSpacingPage()
  else {
    getScript('/pluginsSrc/pangu/dist/browser/pangu.min.js')
      .then(() => {
        pangu.autoSpacingPage()
      })
  }
}

function panguInit () {
  if (false){
    GLOBAL_CONFIG_SITE.isPost && panguFn()
  } else {
    panguFn()
  }
}

document.addEventListener('DOMContentLoaded', panguInit)</script><script src="/js/search/local-search.js"></script><div class="js-pjax"><script>(() => {
  function loadValine () {
    function initValine () {
      let initData = {
        el: '#vcomment',
        appId: 'yT6JGpmRszIr0QQuX52rAH0Q-gzGzoHsz',
        appKey: 'bGzFSFBPvbYlbT8F2ztclshT',
        serverURLs: ''
      }
      const valine = new Valine(initData)
    }

    if (typeof Valine === 'function') initValine() 
    else getScript('/src/js/myvaline20211107.js').then(initValine)
  }

  window.pjax ? loadValine() : window.addEventListener('load', loadValine)
})()</script></div><script src="/src/js/config.js"></script><script src="https://blogapi.chrelyonly.cn/jquery.min.js"></script><div id="he-plugin-simple"></div><script type="text/javascript" src="/src/js/tianqijs.js"></script><script src="/src/js/he-simple-common.js?v=2.0"></script><script charset="utf-8" type="text/javascript" src="/src/js/crash_cheat.js"></script><div class="aplayer no-destroy" data-id="1503100241" data-server="tencent" data-type="playlist" data-fixed="true" data-mini="true" data-listFolded="false" data-order="list" data-preload="none" data-autoplay="false" muted></div><script charset="utf-8" type="text/javascript" src="/src/js/getuserip.js"></script><script charset="utf-8" type="text/javascript" src="https://cdn.bootcss.com/blueimp-md5/2.10.0/js/md5.js"></script><script charset="utf-8" type="text/javascript" src="/src/js/getvalinelist.js"></script><script src="/src/js/snowy.js"></script><style type="text/css">.snow-container{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:100001;}</style><div class="snow-container"></div><script src="/src/js/myjs.js"></script><script>(function(i,s,o,g,r,a,m){i["DaoVoiceObject"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;a.charset="utf-8";m.parentNode.insertBefore(a,m)})(window,document,"script",('https:' == document.location.protocol ? 'https:' : 'http:') + "//widget.daovoice.io/widget/9c4d728b.js","daovoice")
</script><script>var isChatBtn = false
daovoice('init', {
  app_id: '9c4d728b',},{
  launcher: { 
     disableLauncherIcon: isChatBtn // 悬浮 ICON 是否显示
  },
});
daovoice('update');

if (isChatBtn) {
  var chatBtnFn = () => {
    var chatBtn = document.getElementById("chat_btn")
    chatBtn.addEventListener("click", function(){
      daovoice('show')
    });
  }
  chatBtnFn()
} else {
  if (false) {
    function chatBtnHide () {
      daovoice('update', {},{
        launcher: { 
        disableLauncherIcon: true // 悬浮 ICON 是否显示
        },
      });
    }
    function chatBtnShow () {
      daovoice('update', {},{
        launcher: { 
        disableLauncherIcon: false // 悬浮 ICON 是否显示
        },
      });
    }
  }
}</script><script src="/pluginsSrc/pjax/pjax.min.js"></script><script>let pjaxSelectors = ["head > title","#config-diff","#body-wrap","#rightside-config-hide","#rightside-config-show",".js-pjax"]

var pjax = new Pjax({
  elements: 'a:not([target="_blank"])',
  selectors: pjaxSelectors,
  cacheBust: false,
  analytics: false,
  scrollRestoration: false
})

document.addEventListener('pjax:send', function () {

  // removeEventListener scroll 
  window.tocScrollFn && window.removeEventListener('scroll', window.tocScrollFn)
  window.scrollCollect && window.removeEventListener('scroll', scrollCollect)

  typeof preloader === 'object' && preloader.initLoading()
  document.getElementById('rightside').style.cssText = "opacity: ''; transform: ''"
  
  if (window.aplayers) {
    for (let i = 0; i < window.aplayers.length; i++) {
      if (!window.aplayers[i].options.fixed) {
        window.aplayers[i].destroy()
      }
    }
  }

  typeof typed === 'object' && typed.destroy()

  //reset readmode
  const $bodyClassList = document.body.classList
  $bodyClassList.contains('read-mode') && $bodyClassList.remove('read-mode')

})

document.addEventListener('pjax:complete', function () {
  window.refreshFn()

  document.querySelectorAll('script[data-pjax]').forEach(item => {
    const newScript = document.createElement('script')
    const content = item.text || item.textContent || item.innerHTML || ""
    Array.from(item.attributes).forEach(attr => newScript.setAttribute(attr.name, attr.value))
    newScript.appendChild(document.createTextNode(content))
    item.parentNode.replaceChild(newScript, item)
  })

  GLOBAL_CONFIG.islazyload && window.lazyLoadInstance.update()

  typeof chatBtnFn === 'function' && chatBtnFn()
  typeof panguInit === 'function' && panguInit()

  // google analytics
  typeof gtag === 'function' && gtag('config', '', {'page_path': window.location.pathname});

  // baidu analytics
  typeof _hmt === 'object' && _hmt.push(['_trackPageview',window.location.pathname]);

  typeof loadMeting === 'function' && document.getElementsByClassName('aplayer').length && loadMeting()

  // prismjs
  typeof Prism === 'object' && Prism.highlightAll()

  typeof preloader === 'object' && preloader.endLoading()
})

document.addEventListener('pjax:error', (e) => {
  if (e.request.status === 404) {
    pjax.loadUrl('/404.html')
  }
})</script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div><!-- hexo injector body_end start --><div class="js-pjax"><script async="async">var arr = document.getElementsByClassName('recent-post-item');
for(var i = 0;i<arr.length;i++){
    arr[i].classList.add('wow');
    arr[i].classList.add('animate__zoomIn');
    arr[i].setAttribute('data-wow-duration', '500ms');
    arr[i].setAttribute('data-wow-delay', '500ms');
    arr[i].setAttribute('data-wow-offset', '100');
    arr[i].setAttribute('data-wow-iteration', '1');
  }</script><script async="async">var arr = document.getElementsByClassName('card-widget');
for(var i = 0;i<arr.length;i++){
    arr[i].classList.add('wow');
    arr[i].classList.add('animate__zoomIn');
    arr[i].setAttribute('data-wow-duration', '500ms');
    arr[i].setAttribute('data-wow-delay', '500ms');
    arr[i].setAttribute('data-wow-offset', '');
    arr[i].setAttribute('data-wow-iteration', '');
  }</script></div><script defer src="https://unpkg.zhimg.com/hexo-butterfly-wowjs/lib/wow.min.js"></script><script defer src="https://unpkg.zhimg.com/hexo-butterfly-wowjs/lib/wow_init.js"></script><!-- hexo injector body_end end --></body></html>